<?php

/**
 * Konseling form.
 *
 * @package    alazhar
 * @subpackage form
 * @author     Ardhy Widodo
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class KonselingForm extends BaseKonselingForm {

    public function configure() {
        $this->widgetSchema->setLabel('karyawan_id', 'Konselor');
        //$this->widgetSchema['waktu'] = new sfWidgetFormInputText(array('label' => 'Waktu Konseling'));
        $this->widgetSchema['siswa_id'] = new sfWidgetFormInputHidden(array(), array('id' => 'siswa_id'));
        $this->setWidget('no_induk', new sfWidgetFormInput(array('label' => 'No Induk Siswa'), array('id' => 'no_induk')));
        $this->setValidator('no_induk', new sfValidatorString(array('required' => true), array()));
    }

}
